/*
*
* RFileLeadsMapper.java
* @date 2019-02-15
*/
package com.lyz.myself.mapper;

import com.lyz.myself.pojo.Po.RFileLeads;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RFileLeadsMapper {
    /**
     *
     * @mbg.generated 2019-02-15
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * 根据附件id删除关系
     * @param file_id
     * @return
     */
    int deleteLeadsFile(Integer file_id);

    /**
     *添加线索附件
     * @mbg.generated 2019-02-15
     */
    int insertFile(@Param("list") List<RFileLeads> list);

    /**
     *
     * @mbg.generated 2019-02-15
     */
    int insertSelective(RFileLeads record);

    /**
     *
     * @mbg.generated 2019-02-15
     */
    RFileLeads selectByPrimaryKey(Integer id);

    /**
     *
     * @mbg.generated 2019-02-15
     */
    int updateByPrimaryKeySelective(RFileLeads record);

    /**
     *
     * @mbg.generated 2019-02-15
     */
    int updateByPrimaryKey(RFileLeads record);
}